package io.scnb.lesson001.demo11;

/**
 * 查看当延迟初始化的bean被其他实时初始化的bean依赖的时候，
 * 延迟初始化的bean是什么创建的
 */
public class ActualTimeDependencyLazyBean {

    public ActualTimeDependencyLazyBean() {
        System.out.println("ActualTimeDependencyLazyBean实例化!");
    }

    private LazyInitBean lazyInitBean;

    public LazyInitBean getLazyInitBean() {
        return lazyInitBean;
    }


    public void setLazyInitBean(LazyInitBean lazyInitBean) {
        this.lazyInitBean = lazyInitBean;
    }
}
